import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'Login',
    component: () => import( '@/components/login/Index.vue')
  }, {
    path: '/home',
    name: 'Home',
    component: () => import( '@/components/home/Index.vue')
  }
]
const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
